﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Synchros
{
    //public enum SyncType
    //{
    //    Delete,Insert,Update
    //}
    public class SyncType
    {
        private static readonly int iTypeCount=4;

        //private static string[] stns;

        public static string GetTypeName(int index)
        {
            switch (index)
            {
                case 0: return SyncType.TypeName.Synced;
                case 1: return SyncType.TypeName.Delete;
                case 2: return SyncType.TypeName.Insert;
                case 3: return SyncType.TypeName.Update;
            }
            return null;
        }

        public static  int TypeCount
        {
            get { return iTypeCount; }
        }

        public class TypeName
        {
            public static readonly string Synced = "Synced";
            public static readonly string Delete = "Delete";
            public static readonly string Insert = "Insert";
            public static readonly string Update = "Update";
        }
    }
}
